<%-- 
    Document   : password
    Created on : 2009-3-19, 12:44:01
    Author     : lingianlan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="config.*" %>
<%@page import="util.DateUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../style/global.css" rel="stylesheet" type="text/css">
<link href="../style/inner.css" rel="stylesheet" type="text/css">
</head>
<body>

<%SystemConfig sysCfg = SystemConfigBean.getInstance(); %>

<div class="location">您现在的位置：系统维护  | 参数设置</div>
<div id="main">
<form action="setting.action" method="post">
debug:<%=sysCfg.isDebugMode() %>
<table align="center">
	
	<tr>
		<td>当前届数：</td>
		<td><input type="text" name="currentSession" value="<%=sysCfg.getCurrentSession() %>"/></td>
	</tr>
	<tr>
		<td>当前年份：</td>
		<td><input type="text" name="currentYear" value="<%=sysCfg.getCurrentYear() %>"/></td>
	</tr>
	<tr>
		<td>每届用户最多论文数：</td>
		<td><input type="text" name="paperLimit" value="<%=sysCfg.getPaperLimit() %>"/></td>
	</tr>
	<tr>
		<td>系统开启时间：</td>
		<td><input type="text" name="startTime" value="<%=DateUtil.date2String(sysCfg.getStartTime()) %>"/></td>
	</tr>
	<tr>
		<td>系统关闭时间：</td>
		<td><input type="text" name="endTime" value="<%=DateUtil.date2String(sysCfg.getEndTime()) %>"/></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit" value="修改" class="button"/></td>
	</tr>
</table>
</form>
</div>
</body>
</html>
